<script setup>

</script>

<template>
    <div class="footer">
        <div class="item">
            <router-link to="/" active-class="nav_color" class="nav_item">
                <el-icon size="25"><House /></el-icon>
                首页
            </router-link>
        </div>
        <div class="item">
            <router-link to="/mycart" class="nav_item" active-class="nav_color">
                <el-icon size="25"><ShoppingCart /></el-icon>
                购物车
            </router-link>
        </div>
        <div class="item">
            <router-link to="/myorder" class="nav_item" active-class="nav_color">
                <el-icon size="25"><MessageBox /></el-icon>
                订单
            </router-link>
        </div>
        <div class="item">
            <router-link to="/mine" class="nav_item" active-class="nav_color">
                <el-icon size="25"><User /></el-icon>
                我的
            </router-link>
        </div>
    </div>
</template>

<style scoped>
.footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 12px;
    background-color: #fff;
    border-top: 0.5px solid #eee;
    .item{
        .nav_item {
            display: flex;
            flex-flow: column;
            align-items: center;
        }
        .nav_color {
            color: #ffc400;
        }
    }
     
}
</style>
